import { BaseController } from '../BaseController';
import {Md5} from 'ts-md5/dist/md5';
import {PaymentLogger} from '../../Logger';

export class samsung extends BaseController {
    // protected SECRET: string = "";

    async Start(){
        try{
            PaymentLogger.info("samsung info: " + JSON.stringify(this.request.body));
        }catch(e){
            PaymentLogger.error("samsung error: " + <string>e + " body: " + JSON.stringify(this.request.body));
        }finally{
            this.defaultResponse();
        }
    }

    private defaultResponse(){
        this.response.send("SUCCESS");
    }
}
